layui.use(['table','form','jquery'], function() {
    var table = layui.table,
        $ = layui.jquery,
        form = layui.form;

   $("button#find").click(function () {
       var value = $("#distrAreaName").val();
           table.render({
               elem: '#demo',
               url: '/distr-area/findArea?data='+value, //数据接口
               cols: [[ //表头
                   {field: 'distrAreaName',title: '分销区域名称',align:'left',}
               ]],

           });
   });
});
